package com.yunda.nebula.gateway.core.exception;

import lombok.Data;

/**
 * \* User: wei.zhang
 * \* Date: 2020/9/15 16:54
 * \* Description:
 *
 * @author wei.zhang
 * \
 */
@Data
public class GateWayException extends RuntimeException{

    private String data;
    private Exception e;

    public GateWayException(String data) {
        this.data = data;
    }


    public GateWayException(String message, Exception e) {
        this.data = data;
        this.e = e;
    }
}
